package com.onegroup.service.impl;

import com.onegroup.mapper.ProjectMapper;
import com.onegroup.pojo.Project;
import com.onegroup.service.ProjectAcceptanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author:沈思涵
 * @Description:项目验收service实现层
 * @History:
 */
@Service
public class ProjectAcceptanceImpl implements ProjectAcceptanceService {
    @Autowired
    private ProjectMapper getproaccinf;
    @Override
    public void download(HttpServletRequest req, HttpServletResponse resp, int proId) {

    }

    @Override
    public String upload(HttpServletRequest req, HttpServletResponse resp, int proId) {
        return null;
    }

    @Override
    public String pass(int proId) {
        return null;
    }

    @Override
    public String hitBack(int proId) {
        return null;
    }

    @Override
    public List<Project> getProjectByProjectId(int proId) {
        List<Project> projectAcceptanceInformation = getproaccinf.getProjectAcceptanceInformation(proId);
        return projectAcceptanceInformation;
    }

}
